Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Corrected the high precision functions #90

Merged
merged 1 commit into from
Apr 17, 2020
Merged

Conversation

PaulZC
Copy link
Collaborator

@PaulZC PaulZC commented Apr 17, 2020

Corrected the support functions for high precision positioning (UBX-NAV-HPPOSLLH).
Added four new functions:

  • getHighResLatitudeHp
  • getHighResLongitudeHp
  • getElipsoidHp
  • getMeanSeaLevelHp

which return the high resolution component of the lat, lon, height above ellipsoid and height above mean sea level as int8_t (8-bit signed char).
Updated ZED-F9P\Example8_GetHighPrecisionPositionAndAccuracy so it demonstrates how to use the new functions. The example cheats by printing the integer and fractional parts of the lat and lon as standard long integers to avoid having to use a 64-bit double (which is not supported on some platforms).
Enjoy!
Paul

@PaulZC PaulZC merged commit d08764d into master Apr 17, 2020
@PaulZC PaulZC deleted the HPPOSLLH_Corrections branch April 17, 2020 11:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant